package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.model.common.dtos.PageResponseDto;
import org.example.model.common.dtos.record.RecordBasicDto;
import org.example.model.common.vos.record.SearchRecordVo;
import org.example.model.record.RecordBasic;

import java.util.List;

/**
 * 日志管理
 */
public interface RecordBasicService extends IService<RecordBasic> {

    /**
     * 新增日志记录
     */
    Boolean InsertRecordBasic(RecordBasic recordBasic);

    /**
     * 根据条件（登录账号模糊查询，创建时间范围查询）分页查询
     */
    PageResponseDto<List<RecordBasicDto>> SelectPageByConditions(SearchRecordVo searchRecordVo, int pageIndex, int pageSize);
}
